package com.xuecheng.content.convert;

import com.xuecheng.api.content.model.dto.TeachplanMediaDTO;
import com.xuecheng.content.entity.TeachplanMedia;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


/**
 * @author 黄子弟
 * @Date 2021/12/8
 */

@Mapper
public interface TeachplanMediaConvert {

    TeachplanMediaConvert INSTANCE = Mappers.getMapper(TeachplanMediaConvert.class);

    //将po转换为dto

    TeachplanMediaDTO po2dto(TeachplanMedia po);




}
